package com.sk.service;

import com.sk.entity.Equipment;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sk.util.Result;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author smith
 * @since 2025-05-27
 */
public interface IEquipmentService  {

    //根据Id查询装备信息
    public Result getById(Integer equipmentId);


    //查询所有的装备信息
    public Result getAll();



    //根据类别分类查看装备信息
    public Result getByTypeId(Integer typeId);


    //模糊搜索
    public Result getByName(String equipmentName);

    //根据userId查询饰品信息
    public  Result getByuserId(Integer userId);

    //上架饰品(修改价格和状态0/1)
    public  Result update(Equipment equipment);

}
